#pragma once
#include <iostream>
#include <vector>

using namespace std;

typedef int INTEGER;
typedef int INDEX;
typedef string STRING;
typedef bool BOOLEAN;


struct node_stmt{
	string type;
	int start;
	int end;
};

class StmtLstTable
{
private:
	vector<node_stmt> _table;
	INTEGER _size;
public:	
	StmtLstTable();
	vector<node_stmt> getStmtLst();
	INDEX insertStmtLstTable(string type, INTEGER startLine=-1, INTEGER endLine=-1);
	INTEGER getSize();
	node_stmt getStmtLst(INDEX index);
	BOOLEAN setStartLine(INDEX index,INTEGER startLine);
	BOOLEAN setEndLine(INDEX index,INTEGER endLine);
	INDEX getStartLine(INDEX index);
	INDEX getEndLine(INDEX index);
	string getType(INDEX index);
};

